//
//  BIDWritePostView.h
//  党务通
//
//  Created by mal on 14-1-7.
//  Copyright (c) 2014年 mal. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BIDReplyViewDelegate <NSObject>

- (void)replyWithContent:(NSString*)replyContent;

@end

@interface BIDReplyView : UIView

@property (strong, nonatomic)UIButton *cancelBtn;
@property (strong, nonatomic)UIButton *confirmBtn;
@property (strong, nonatomic)UILabel *titleLabel;
@property (strong, nonatomic)UITextView *contentTextView;
@property (strong, nonatomic)UIView *bgView;
//editView为当前要编辑的textView
@property (strong, nonatomic)UITextView *editView;

@property (strong, nonatomic)id<BIDReplyViewDelegate> delegate;

- (void)initView;

- (void)showTheView;
- (void)dismissTheView;

- (void)cancelBtnHandler;
- (void)confirmBtnHandler;

- (void)removeKeyboardObserver;

- (void)performHandler;

- (void)keyboardWillShow:(NSNotification*)notification;
- (void)keyboardWillHide:(NSNotification*)notification;

@end
